package com.itheima.service;


import com.github.pagehelper.Page;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Order;
import com.itheima.pojo.OrderSetting;

import java.text.ParseException;
import java.util.Date;


import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.OrderSetting;

import java.text.ParseException;

import java.util.List;
import java.util.Map;

public interface OrderSettingService {

    /**
     * 保存预约设置信息
     * @param orderSettings
     */
    void add(List<OrderSetting> orderSettings);

    /**
     * 查询指定月份的预约设置信息
     * @param date
     * @return
     */
    List<Map<String, Object>> getOrderSettingsByMonth(String date) throws ParseException;

    /**
     * 更新预约设置信息
     * @param orderSetting
     */
    void updateOrderSettingNumber(OrderSetting orderSetting);


    PageResult queryOrderSetting(String value1, String value2, String value3, String value4, QueryPageBean queryPageBean) throws Exception;


}
